Einhugur Xml Plugin for Xojo

Node.Child Method

Returns first child by a given name, or empty node if not found, unless if the create parameter is true then if not found a newly appended node will be returned.

Child(
   name as String,
   create as Boolean) as EinhugurXml.Node

Parameters

name
Name of the child node to get.
create
Optional parameter where default value is false.

If passing true here then non existing node will be automatically appended if needed.

Returns

EinhugurXml.Node
The requested node, newly appended node or empty node.

Remarks

See Also

Node Class